package com.rc.evcharger.model.rc;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.evcharger.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class RcElecPileFault extends BaseModel {
    private Long pileFaultId;

    private String pileFaultType;

    private String pileFaultDetail;

    private String pileFaultCode;

    private Integer pileFaultLevel;

    private Integer sort;

    private Integer status;

    private String createdBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    private String lastUpdatedBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;

    public Long getPileFaultId() {
        return pileFaultId;
    }

    public void setPileFaultId(Long pileFaultId) {
        this.pileFaultId = pileFaultId;
    }

    public String getPileFaultType() {
        return pileFaultType;
    }

    public void setPileFaultType(String pileFaultType) {
        this.pileFaultType = pileFaultType;
    }

    public String getPileFaultDetail() {
        return pileFaultDetail;
    }

    public void setPileFaultDetail(String pileFaultDetail) {
        this.pileFaultDetail = pileFaultDetail;
    }

    public String getPileFaultCode() {
        return pileFaultCode;
    }

    public void setPileFaultCode(String pileFaultCode) {
        this.pileFaultCode = pileFaultCode;
    }

    public Integer getPileFaultLevel() {
        return pileFaultLevel;
    }

    public void setPileFaultLevel(Integer pileFaultLevel) {
        this.pileFaultLevel = pileFaultLevel;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }
}